C code for PEGetPrintDate and PESetPrintDate

The following code shows how the print date, as set in the report, can be retrieved using PEGetPrintDate and changed using PESetPrintDate:

PEGetPrintDate

short            year,
        month,
        day;
if (!PEGetPrintDate(Job, &year, &month, &day)){
    // Handle error
}

PESetPrintDate

short            year,
        month,
        day;
year = 1999;
month = 05;
day = 30;
if (!PESetPrintDate(Job, year, month, day)){
    // Handle error
}


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com